package com.pro.springbootpro.service;

import com.github.pagehelper.PageInfo;
import com.pro.springbootpro.entity.People;

import java.util.List;

/**
 * @author DJR (1210843430@qq.com)
 */
public interface IPeopleService {
    /**
     * 分页获取
     * @param pageNum
     * @param PageSize
     * @return
     */
    PageInfo<People> getByPage(Integer pageNum, Integer PageSize);

    /**
     * 保存
     * @param peopleList
     */
    void save(List<People> peopleList);


    void asyncTest();
    void mainTest();
    void djrAsyncTest();
}
